package com.edmendst.xmall.util;

//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//@Component
//public class AuthorizationHeaderUtil {
//
//    @Autowired
//   private static JWTUtil jwtUtil;
//    public static String getUserNameFromToken(String authorizationHeader) {
//        String token = authorizationHeader.replace("Bearer ", "");
//        return jwtUtil.getUserNameFromToken(token);
//    }
//}
